<?php
Route::group(['domain'=>env('VIP_DOMAIN'),'namespace'=>'App\Http\Controllers\VipChannel\User','prefix'=>'api'],function(){

    Route::any('login','UserController@login');

});


Route::group(['domain'=>env('VIP_DOMAIN'),'namespace'=>'App\Http\Controllers\VipChannel\Web'],function(){//,'middleware' => 'VipChannelAuth'

    Route::any('{slug}','WelcomeController@index')->where('slug', '(.*)?');

});
